#ifndef _PRIVATE_H_
#define _PRIVATE_H_

/// <summary>
/// MACROS
/// </summary>
#define SERVICE_LIST "/System/Configuration/Services.xdata"

int Booting(void);
int FileExists(const char *filename);
int StartShell(void);

/// <summary>
/// Console Pipeline
/// </summary>
int OpenConsole(int mode);
int CloseConsole(int handle);

/// <summary>
/// Reader Pipeline
/// </summary>
int ReaderOpen(const char *filename);
int ReaderNextService(ServicePtr service);
int ReaderClose(void);
int ReaderNext(void);

int SignalsInit(void);
int SignalsWait(void);

int HandleSignals(siginfo_t info);

/// <summary>
/// Linux Module Pipeline
/// </summary>
/// extern long init_module(void *, unsigned long, const char *);
/// extern long delete_module(const char *, unsigned int);
/// extern int query_module(const char *name, int which, void *buf, size_t bufsize, size_t *ret);
/// extern caddr_t create_module(const char *name, size_t size);

#endif